const {ipcMain } = require ("electron");

// 开启监听
function listen() {
    // 创建窗口
    ipcMain.on('window-new-card', (event, args) => {
        console.log(args)
    })
}

module.exports = {
    listen
}